<template>
  <mavon-editor v-model="markdownContent"  defaultOpen="edit" :lineNumbers="true"/>
</template>

<script setup>
import { ref } from 'vue';
import { mavonEditor } from 'mavon-editor';
import 'mavon-editor/dist/css/index.css';

const markdownContent = ref('this is the content');
const codeStyle = ref({
  lineNumbers: true, // 开启行号显示
})
</script>